﻿using System;
using System.Collections.Generic;

namespace MyHomeworkWebAPi.Models;

public partial class Category
{
    /// <summary>
    /// 商品类别id
    /// </summary>
    public Guid CategoryId { get; set; }

    /// <summary>
    /// 类别名
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 是否使用
    /// </summary>
    public byte IsUse { get; set; }

    public virtual ICollection<Product> Products { get; set; } = new List<Product>();
}
